package com.atguigu.spzx.mapper;


import com.atguigu.spzx.model.entity.product.ProductSpec;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProductSpecMapper {
    Page<ProductSpec> findByPage();


    void updateById(ProductSpec productSpec);

    void save(ProductSpec productSpec);

    void deleteById(Long id);

    List<ProductSpec> findAll();

}
